.msg_box{
    height: 500px;
    display: flex;
    flex-direction: column;
}

.msg_list{
    flex: 1;
    overflow-y: auto;
}
.msg_form{
    height: 60px;
    padding-top: 10px;
    background-color: #fff;
}
.msg_list_ps {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.msg_list_left,
.msg_list_right{
    display: flex;
}

.msg_list_left p,
.msg_list_right p{
    max-width: 70%;
    background-color: #aaa;
    padding: 10px 15px;
    margin: 10px 10px;
    border-radius: 10px;
}

.msg_list_right{
    flex-direction: row-reverse;
}

.msg_list_right p{
    background-color: #2c8ae9;
    color: #fff;
}